package com.ambow.user.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ambow.user.dao.UserMapper;
import com.ambow.user.dto.User;

@Service("userService")
public class UserServiceImpl implements IUserService {

	@Resource
	private UserMapper userDao;

	public User getUserById(int userId) {
		return this.userDao.selectByPrimaryKey(userId);
	}

}
